package org.dy.db.model;

import java.util.ArrayList;
import java.util.List;

public class TableLayer {
	
	List<TableHeader> tables = new ArrayList<TableHeader>();

	public List<TableHeader> getTables() {
		return tables;
	}
	
	public TableHeader getByTableName(String name){
		for(TableHeader th:tables){
			if(th.getTableName().equalsIgnoreCase(name))
				return th;
		}
		return null;
	}
}
